﻿using System.Collections.Generic;
using System.Runtime.Serialization;
using MyFloridaHouse.libSvDTO;

namespace MyFloridaHouse.libSTO
{
    [DataContract]
    public class FileInfoSTO
    {
        string _directory;
        List<FileInfoDTO> _files;
        string _errorMessage;


        public FileInfoSTO()
        {
            _files = new List<FileInfoDTO>();
        }

        [DataMember]
        public string directory
        {
            get { return _directory; }
            set { _directory = value; }
        }

        [DataMember]
        public List<FileInfoDTO> files
        {
            get { return _files; }
            set { _files = value; }
        }

        [DataMember]
        public string errorMessage
        {
            get { return _errorMessage; }
            set { _errorMessage = value; }
        }

    }

}
